package com.zhanghu.backendZray.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhanghu.backendZray.pojo.entity.Accounting;
import com.zhanghu.backendZray.pojo.request.accounting.AccountingQueryRequest;
import com.zhanghu.backendZray.pojo.vo.accounting.AccountingVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 记账 Mapper 接口
 * </p>
 *
 * @author zhangdong
 * @since 2024-12-19
 */
public interface AccountingMapper extends BaseMapper<Accounting> {

    List<AccountingVo> listByYearMonth(@Param("request") AccountingQueryRequest request);
}
